﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;

namespace BrnMall.Sdk.WeiXin.weapp
{
    public class TabBarPages
    {
        [JsonRequired]
        public string color { get; set; }
        public string selectedColor { get; set; }
        [JsonRequired]
        public string borderStyle { get; set; }
        [JsonRequired]
        public string backgroundColor { get; set; }
        [JsonRequired]
        [JsonProperty("box-shadow")]
        public string boxShadow{get;set;}
        [JsonRequired]
        public IList<TabBarPage> list { get; set; }

        public TabBarPages()
        {
            list=new List<TabBarPage>();
        }
    }

    public class TabBarPage
    {
        [JsonRequired]
        public string pagePath { get; set; }
        [JsonRequired]
        public string iconPath { get; set; }
        [JsonRequired]
        public string selectedIconPath { get; set; }
        [JsonRequired]
        public string text { get; set; }
    }
    public class AppPage
    {
        public string Name { get; set; }
        public string Url { get; set; }
    }
}
